﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace BigPang.Render
{
    public class Renderable
    {
        public int mLayer;

        public virtual void OnRender(Graphics graph)
        {

        }

        public virtual void RegisterRender()
        {
            Canvas.MainCanvas.AddRender(this);
        }

        public virtual void UnregisterRender()
        {
            Canvas.MainCanvas.RemoveRender(this);
        }
    }
}
